﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Grow.EventBus.Cap.SubscriberDomainEvents
{
    /// <summary>
    /// 消息监听
    /// </summary>
    public interface ISubscriberDomainEventHandler
    {
        Task SubscriberAsync(SubscriberDomainEventDto subscriberDomainEventDto, CancellationToken cancellationToken = default);
    }
}
